#pragma once
#include "RenderStatus.h"
class VertexFactory;
class Material;


#define DRAWINGPOLICY_COMPARE(MemberName) \
	if (MemberName != other.MemberName) return (MemberName < other.MemberName);

class MeshDrawingPolicy
{
public:
	MeshDrawingPolicy(const VertexFactory* vertexFactory, const Material* material)
		: mVertexFactory(vertexFactory)
		, mMaterial(material)
	{ }

	void DrawRenderable(Renderable* renderable);

protected:
	const VertexFactory* mVertexFactory;
	const Material* mMaterial;
};

